{% extends "BillingBundle::admin_layout.html.twig" %}

{% block content %}

<link rel="stylesheet" type="text/css" media="screen" href="{{ asset('bundles/billing/css/validate.css') }}" />
<script src="{{ asset('bundles/billing/js/jquery.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/billing/js/jquery.validate.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/billing/js/validate_order.js') }}" type="text/javascript"></script>

<h4>Изменение информации о заказе:</h4>

<div id="add_box">
  <div id="add_wrap">
    <form id="add_form" method="post" action="#">
        <table>
            {% block field_group %}
                {% for child in form %}
                    {% if not child.ishidden %}
                        <tr>
                            <td class="label">
                                <label id=l{{ child.key }} for={{ child.key }}>{{ child.key }}:</label>
                            </td>
                            <td class="field">
                                {{ form_field(child) }}
                            </td>
                            <td class="status"></td>
                            <td>
                                {{ form_errors(child) }}
                            </td>
                        </tr>
                    {% endif %}
                {% endfor %}
                {{ form_widget(form._token) }}
            {% endblock field_group %}
        </table>
        <div class="field">
            <input name="add_order" type="submit" value="Изменить заказ"/>
        </div>
    </form>
   </div>
</div>


{% endblock %}
